Zero-Overhead Composable Aspects for .NET

نویسندگان

  • Rasmus Johansen
  • Peter Sestoft
  • Stephan Spangenberg
چکیده

We present a new static aspect weaver for C#. The weaver, which is called Yiihaw, works by transforming a program’s bytecode and types, stored in so-called assemblies, and performs extensive checks at weave-time to ensure correctness of the resulting woven assembly. The design makes four contributions: (a) Application of generic advice is typesafe; (b) application of “around” advice incurs no runtime overhead; (c) woven assemblies can be further woven; and (d) advice can itself be woven before being applied to target code – in effect advice can be composed. These contributions are achieved by minimal means, basing much of the type checking on the bytecode’s generic type system. Yiihaw’s aspects are less expressive than those of AspectJ: an aspect does not have an identity of its own; only static join points are supported; and the pointcut language does not allow logical combinations of join points. However, Yiihaw is sufficiently expressive for many purposes, and for these purposes it provides statically typesafe weaving and highly efficient woven code.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

C∅C∅: A Framework for Building Composable Zero-Knowledge Proofs

Non-interactive zero-knowledge proofs are a powerful cryptographic primitive used in privacypreserving protocols. We design and build C∅C∅, the first system enabling developers to build efficient, composable, non-interactive zero-knowledge proofs for generic, user-defined statements. C∅C∅ extends state-of-the-art SNARK constructions by applying known strengthening transformations to yield UC-co...

متن کامل

Analysis and Optimization using Renewable Energies to Get Net-Zero Energy Building for Warm Climate

Due to low energy price, economic optimization of consumption has no justification for users in Iran. Nowadays, the issue of ending fossil fuels, production of greenhouse gases and the main role of building in consumption of considerable amount of energy has drawn the focus of global researches to a new concept called net zero energy building. In this study, modeling, simulation and energy anal...

متن کامل

Zero-overhead Pr/T-Net execution

Petri Nets and higher order versions like Predicate Transition Nets (Pr/T-Nets) are very suitable for modeling event-oriented discrete and even parallel systems. Obviously, the next step is to implement the system code out of this model specification. Therefore, very efficient code has to be generated and a highly overhead free run-time environment is required. We propose a very tight integrati...

متن کامل

Minimizing Non-interactive Zero-Knowledge Proofs Using Fully Homomorphic Encryption

A non-interactive zero-knowledge proof can be used to demonstrate the truth of a statement without revealing anything else. It has been shown under standard cryptographic assumptions that non-interactive zero-knowledge proofs of membership exist for all languages in NP. However, known non-interactive zero-knowledge proofs of membership of NP-languages yield proofs that are larger than the corre...

متن کامل

Net zero energy buildings in semi-arid climates: An analysis on 3 case studies in Tehran, Iran

This paper analyzes utilization of renewable energy systems and efficient building envelopes in the semi-arid climate. The proposed model evaluates renewable energy systems solutions as well as economic- and energy-efficient construction materials for the net zero-energy buildings (NZEB) in semi-arid climates. The objective of this paper is to optimize total energy cost and environmental impact...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007